package com.tengju.bff.interfaces.covercharge.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author liang_shi
 * @date 2020/8/3 16:25
 * @description account-core 货款相关
 */
@Data
public class ChangeBalanceReqDTO implements Serializable {

    /**
     * 请求唯一id
     */
    @NotBlank(message = "ChangeBalanceReqDTO[uniqueId]不能为空")
    private String uniqueId;


    /**
     * 订单请求
     */
    @NotNull(message = "orderReqs不能为空")
    private List<ChangeBalanceUserReqDTO> orderReqs;
}
